package com.example.demo.pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
public class Order {

    private Integer id;
    private Integer userId;
    private Integer bookId;
    private Integer num;

    public Order(Integer userId, Integer bookId, Integer num) {
        this.userId = userId;
        this.bookId = bookId;
        this.num = num;
    }
}
